package cn.lds.j368.dsbank.service;

import cn.lds.j368.dsbank.domain.LoanApply;
import cn.lds.j368.dsbank.dto.RespDTO;
import cn.lds.j368.dsbank.exception.ServiceException;

import java.util.List;

public interface LoanApplyService {

    RespDTO<List<LoanApply>> selectLoanApplyAll() throws ServiceException;

    RespDTO<LoanApply> selectLoanApplyByApplyId(Long loanApplyId) throws ServiceException;

    RespDTO addOrModifyLoanApply(LoanApply loanApply) throws ServiceException;

    RespDTO delLoanApply(Long applyId) throws ServiceException;
}
